var i = require("../../requests/newapi").getOilwear;

Page({
    data: {
        oilList: []
    },
    onLoad: function(i) {
        var t = i.serialid;
        this.getOilwear(t);
    },
    getOilwear: function(t) {
        var a = this;
        i({
            op: "bit.serialfuelstatistic",
            serialid: t
        }).then(function(i) {
            a.setData({
                oilList: i.Data
            });
        }).catch(function(i) {
            console.log(i);
        });
    }
});